// Mr.David FSG1.33 OEP finder v0.1
// This script will quickly put you at the OEP of an FSG1.33 EXE.
// Just run it!
// Implemented using hardware breakpoints (just for fun).

findop eip, #FE0E#  //APIϵҵ
bphws $RESULT, "x" //¶
run               //
bphwc $RESULT    //ϵ
sto             
sto
sto           //Ĵ
sto 

ask "Je XXXXXXX XXXXXXXX"    //ͨѿ뿴OEP
  cmp $RESULT, 0
  je lbl7      //ȡʾϢ
  go $RESULT  //ֱ go OEP
  an eip     //
  cmt eip,"OEP To Get,Please dumped it,Enjoy!"
  ret

  lbl7:
  msg "ȡ͵нű1!"


